package com.zf.museum.repository;


import com.zf.museum.model.Tfng;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TfngRepository extends JpaRepository<Tfng, Long>{

    @Query("select id from Tfng order by id asc ")
    Long[] getIds();

}